package com.example.dormlist.dorm;

import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class DormListService {

    private final DormListRepository dormListRepository;

    public List<DormList> findAll() {
        return dormListRepository.findAll();
    }

}
